#include "Stack.h"

int main()
{
    Stack s;
    InitSatck(&s);
    Push(&s, 1);
    Push(&s, 2);
    Push(&s, 3);
    Push(&s, 4);
    Push(&s, 5);
    Push(&s, 6);
    DataType tmp = 0;
    Pop(&s, &tmp);
    while (!Empty(&s))
    {
        DataType tmp = 0;
        Pop(&s, &tmp);
        printf("%d ", tmp);
    }
    printf("\n");
    DestroyStack(&s);
    return 0;
}